﻿/*
 *
 * eeprom.h
 *
 *  Created on: 2016-11-12
 *      Author: chenshisheng
 */

#ifndef MAIN_EEPROM_H_
#define MAIN_EEPROM_H_

#include "main.h"

typedef enum
{
    Eeprom_Content_Calibration,

    Eeprom_Content_Max
}Eeprom_Content_t;

void Eeprom_Init(void);
int8_t Eeprom_Store(Eeprom_Content_t content, const void *dataIn, uint8_t size);
int8_t Eeprom_Load(Eeprom_Content_t content, void *dataOut, uint8_t size);
int8_t Eeprom_Delete(Eeprom_Content_t content);

#endif /* MAIN_EEPROM_H_ */
